﻿using System;

namespace HslCommunication.BasicFramework
{
	/// <summary>
	/// 系统的消息类，用来发送消息，和确认消息的
	/// </summary>
	// Token: 0x02000196 RID: 406
	public class MessageBoard
	{
		/// <summary>
		/// 发送方名称
		/// </summary>
		// Token: 0x170006B4 RID: 1716
		// (get) Token: 0x060020DB RID: 8411 RVA: 0x0009FD70 File Offset: 0x0009DF70
		// (set) Token: 0x060020DC RID: 8412 RVA: 0x0009FD78 File Offset: 0x0009DF78
		public string NameSend { get; set; } = "";

		/// <summary>
		/// 接收方名称
		/// </summary>
		// Token: 0x170006B5 RID: 1717
		// (get) Token: 0x060020DD RID: 8413 RVA: 0x0009FD81 File Offset: 0x0009DF81
		// (set) Token: 0x060020DE RID: 8414 RVA: 0x0009FD89 File Offset: 0x0009DF89
		public string NameReceive { get; set; } = "";

		/// <summary>
		/// 发送时间
		/// </summary>
		// Token: 0x170006B6 RID: 1718
		// (get) Token: 0x060020DF RID: 8415 RVA: 0x0009FD92 File Offset: 0x0009DF92
		// (set) Token: 0x060020E0 RID: 8416 RVA: 0x0009FD9A File Offset: 0x0009DF9A
		public DateTime SendTime { get; set; } = DateTime.Now;

		/// <summary>
		/// 发送的消息内容
		/// </summary>
		// Token: 0x170006B7 RID: 1719
		// (get) Token: 0x060020E1 RID: 8417 RVA: 0x0009FDA3 File Offset: 0x0009DFA3
		// (set) Token: 0x060020E2 RID: 8418 RVA: 0x0009FDAB File Offset: 0x0009DFAB
		public string Content { get; set; } = "";

		/// <summary>
		/// 消息是否已经被查看
		/// </summary>
		// Token: 0x170006B8 RID: 1720
		// (get) Token: 0x060020E3 RID: 8419 RVA: 0x0009FDB4 File Offset: 0x0009DFB4
		// (set) Token: 0x060020E4 RID: 8420 RVA: 0x0009FDBC File Offset: 0x0009DFBC
		public bool HasViewed { get; set; }
	}
}
